package com.gzz.orchid.main.facade.serice;

import jakarta.validation.constraints.Min;
import jakarta.validation.constraints.NotNull;
import jakarta.validation.groups.Default;
import org.springframework.validation.annotation.Validated;

/**
 * @author higmd
 */
@Validated(Default.class)
public interface IValidationDemoService {
    String validate(@NotNull @Min(10) Integer id, @NotNull String name);
}
